import request from '@/utils/request'

// 查询贝克曼梁测定回弹弯沉试验检测报告列表
export function listWcbgBsInfo(query) {
  return request({
    url: '/report_ljlm/wcbgBsInfo/list',
    method: 'get',
    params: query
  })
}

// 查询贝克曼梁测定回弹弯沉试验检测报告详细
export function getWcbgBsInfo(excelId) {
  return request({
    url: '/report_ljlm/wcbgBsInfo/' + excelId,
    method: 'get'
  })
}

// 新增贝克曼梁测定回弹弯沉试验检测报告
export function addWcbgBsInfo(data) {
  return request({
    url: '/report_ljlm/wcbgBsInfo',
    method: 'post',
    data: data
  })
}

// 修改贝克曼梁测定回弹弯沉试验检测报告
export function updateWcbgBsInfo(data) {
  return request({
    url: '/report_ljlm/wcbgBsInfo',
    method: 'put',
    data: data
  })
}

// 删除贝克曼梁测定回弹弯沉试验检测报告
export function delWcbgBsInfo(excelId) {
  return request({
    url: '/report_ljlm/wcbgBsInfo/' + excelId,
    method: 'delete'
  })
}

// 获取检测结论
export function queryJcjl(data) {
  return request({
    url: "/report_ljlm/wcbgBsInfo/jcjl",
    method: "put",
    data: data
  });
}
